package org.jeecg.modules.mr.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.mr.entity.MrBookMeters;

import java.util.List;
import java.util.Map;

/**
 * @Description: 抄表顺序
 * @Author: jeecg-boot
 * @Date:   2022-02-03
 * @Version: V1.0
 */
public interface MrBookMetersMapper extends BaseMapper<MrBookMeters> {

    /**查询抄表本抄表用户记录*/
    List<Map<String,Object>>queryBookReadMater(@Param("bookId") String bookId,@Param("keyword") String keyword);

    /**查询抄表本水表*/
    List<Map<String, Object>> queryBookOrderMater(@Param("bookId")String bookId);

    void updateOrderMeter(@Param("id") String id, @Param("orderNo") Integer orderNo);
}
